package cn.tedu.onlinestore.seller.mapper;

import cn.tedu.onlinestore.seller.pojo.dto.DianPuParam;
import cn.tedu.onlinestore.seller.pojo.entity.Seller;
import cn.tedu.onlinestore.seller.pojo.vo.DianPuVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SellerMapper {
    void addSeller(Seller seller);

    DianPuVO selectSellerById(String username);

    void addDP(DianPuParam dianPuParam);

    List<Seller> getAllSeller(@Param("page") Integer page, @Param("size") Integer size);

    void updateDP(Seller seller);
}
